package com.zhuangjie.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuangjie
 * @since 2023-11-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("shop_self_pickup_serial_number")
@ApiModel(value = "ShopSelfPickupSerialNumber对象", description = "")
public class ShopSelfPickupSerialNumber implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("店铺自提自增状态编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("对应的自提订单id")
    @TableField("shop_id")
    private Long shopId;

    @ApiModelProperty("店铺最近生成自提码的date")
    @TableField("last_gen_date")
    private LocalDate lastGenDate;

    @ApiModelProperty("排队序号")
    @TableField("queue_sequence_number")
    private Integer queueSequenceNumber;
}
